/**
 * 
 */
package com.zte.claa.inficombo.csa.app.service.persondev;

import java.util.List;

import com.zte.claa.inficombo.share.model.persondev.PersonJobDev;
import com.zte.claa.inficombo.share.model.persondev.PersonJobDevQryCondition;




/**
 * @author zhanghao
 *
 */
public interface PersonJobDevService {

	/**
	 * 根据终端编号查询终端人员绑定
	 * @param dev
	 * @return
	 * @throws Exception
	 */
	List<PersonJobDev> queryByDev(String dev) throws Exception;
	
	/**
	 * 根据主键查询
	 * @param dev
	 * @param personid
	 * @return
	 * @throws Exception
	 */
	PersonJobDev queryByKey(String dev, String personid) throws Exception;
	
	/**
	 * 
	 * @param personid
	 * @return
	 * @throws Exception
	 */
	List<PersonJobDev> queryByPerson(String personid) throws Exception;
	
	/**
	 * 条件查询
	 * @param cdt
	 * @return
	 * @throws Exception
	 */
	List<PersonJobDev> queryByCondition(PersonJobDevQryCondition cdt) throws Exception;
}
